fraktal: fraktal.c
	gcc -Wall -march=corei7 -O3 -o fraktal fraktal.c -lglut -lm -lGL -lGLU

mandelbrot: mandelbrot.c
	gcc -Wall -march=corei7 -O3 -o mandelbrot mandelbrot.c -lglut -lm -lGL -lGLU

julia: julia.c
	gcc -Wall -march=corei7 -O3 -o julia julia.c -lglut -lm -lGL -lGLU

C2: C2.c
	gcc -Wall -march=corei7 -O3 -o C2 C2.c -lglut -lm -lGL -lGLU

shader_test: shader_test.c
	gcc -Wall -march=corei7 -g -o shader_test shader_test.c -lglut -lm -lGL -lGLU -lEGL

fraktalWin: fraktal.c
	i586-mingw32msvc-gcc -Wall -I/home/dag/ming/freeglut/include -o fraktal.exe fraktal.c -mwindows -L/home/dag/ming/freeglut/lib -lfreeglut -lopengl32 -lglu32

mandelWin: mandelbrot.c
	i586-mingw32msvc-gcc -Wall -I/home/dag/ming/freeglut/include -o mandelbrot.exe mandelbrot.c -mwindows -L/home/dag/ming/freeglut/lib -lfreeglut -lopengl32 -lglu32
